package com.bdd.crowd.service.api;

import com.bdd.crowd.entity.Role;
import com.github.pagehelper.PageInfo;

/**
 * @author banddong
 * @create 2020-09-12 22:25
 * Role(角色)接口
 */
public interface RoleService {

    // 页面一览
    PageInfo<Role> getPageInfo(Integer pageNum, Integer pageSize, String keyword);

    // 新增
    void saveRole(Role role);

    // 修改
    void updateRole(Role role);
}
